package com.sumainfor.pc.market.controller.rentadviser;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.market.service.RdProfitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 *运营部分配服务管家
 */
@RestController
@RequestMapping("/rentadviser/Profit")
public class RdProfitController implements Serializable {
    @Autowired
    private RdProfitService rdProfitService;
    /**
     * 查询楼号
     */
    @GetMapping("/getCommunityBuilDing")
    public JsonResult getCommunityBuilDing(@RequestParam Map<String,Object>params){
        return rdProfitService.getCommunityBuilDing(params);
    }
    /**
     * 查询室号
     */
    @GetMapping("/getCommunityRoom")
    public JsonResult getCommunityRoom(@RequestParam Map<String,Object>params){
        return rdProfitService.getCommunityRoom(params);
    }

}
